Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent async ClusterPipeline instances from becoming "false-y" in ca… #3068

Merged
merged 1 commit into from
Dec 11, 2023
Merged

Prevent async ClusterPipeline instances from becoming "false-y" in ca… #3068

merged 1 commit into from
Dec 11, 2023

Conversation

jakob-keller
Copy link
Contributor

@jakob-keller jakob-keller commented Dec 6, 2023

…se of empty command stack

Pull Request check-list

Please make sure to review and check all of these items:

  • Do tests and lints pass with this change?
  • Do the CI tests pass with this change (enable it first in your forked repo and wait for the github action build to finish)?
  • Is the new or changed code fully tested?
  • Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?
  • Is there an example added to the examples folder (if applicable)?
  • Was the change added to CHANGES file?

NOTE: these things are not required to open a PR and can be done
afterwards / while the PR is open.

Description of change

Closes #3061

@codecov-commenter
Copy link

codecov-commenter commented Dec 6, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ce9eb83) 91.16% compared to head (c0289ba) 91.16%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3068      +/-   ##
==========================================
- Coverage   91.16%   91.16%   -0.01%     
==========================================
  Files         127      127              
  Lines       32855    32854       -1     
==========================================
- Hits        29953    29952       -1     
  Misses       2902     2902              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jakob-keller jakob-keller marked this pull request as ready for review December 6, 2023 09:00
@jakob-keller
Copy link
Contributor Author

CI appears to be flakey - I believe these random failures are unrelated to the PR.

@dvora-h dvora-h added bug Bug breakingchange API or Breaking Change labels Dec 11, 2023
@dvora-h dvora-h merged commit 3502c4d into redis:master Dec 11, 2023
52 of 54 checks passed
@jakob-keller jakob-keller deleted the async-cluster-pipeline-always-true branch December 11, 2023 08:08
gerzse pushed a commit to gerzse/redis-py that referenced this pull request Jul 11, 2024
gerzse pushed a commit that referenced this pull request Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breakingchange API or Breaking Change bug Bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

redis.asyncio.cluster.ClusterPipeline.__bool__() should always return True
3 participants